package com.phiture.erp.basic.api.service;

import com.phiture.erp.basic.api.pojo.resp.ErpAccountResp;

import java.util.Collection;
import java.util.Map;

/**
 * @author YH
 * @date 2025/4/8
 */
public interface ErpAccountApi {
    /**
     * 校验结算账户
     *
     * @param id 编号
     * @return 结算账户
     */
    ErpAccountResp validateAccount(Long id);

    Map<Long, ErpAccountResp> getAccountMap(Collection<Long> ids);

    ErpAccountResp getDefaultAccount();
}
